home *** CD-ROM | disk | FTP | other *** search
/ MacWorld UK 2005 May / MW_UK_2005_05.iso / 16 iCal utilities / MenuCal.sit / MenuCal / MenuCal.app / Contents / Resources / MenuCal.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-01-11  |  2.0 KB  |  74 lines

  1. //
  2. //  CalendarClock.h
  3. //  CalendarClock
  4. //
  5. //  Created by Chad Cunningham on 12/17/04.
  6. //  Copyright 2004 __MyCompanyName__. All rights reserved.
  7. //
  8.  
  9. #import <Cocoa/Cocoa.h>
  10. #import "Calendar.h"
  11. #import "MyWindow.h"
  12. #import "iCalItem.h"
  13. #import "statusItemView.h"
  14. #import "AMRollOverButton.h"
  15.  
  16. @interface NSStatusItem (NSStatusItem_Private)
  17. + (id)_itemInStatusBar:(id)fp8 withLength:(float)fp12 withPriority:(int)fp16;
  18. - (id)_initInStatusBar:(id)fp8 withLength:(float)fp12 withPriority:(int)fp16;
  19. - (id)_window;
  20. - (id)_button;
  21. - (void)_adjustLength;
  22. @end
  23.  
  24. @interface MenuCal : NSObject {
  25.     IBOutlet MyWindow *window;
  26.     IBOutlet Calendar *calendar;
  27.     IBOutlet NSPopUpButton *monthmenu;
  28.     IBOutlet NSTextField *year;
  29.     IBOutlet NSTextField *drawerdate;
  30.     IBOutlet NSTextView *icaltext;
  31.     NSCalendarDate *viewingDate;
  32.     NSMutableDictionary *iCalItems;
  33.     NSMutableArray *ruleItems;
  34.     IBOutlet NSDrawer *drawer;
  35.     StatusItemView *theStatusItemView;
  36.     IBOutlet NSButton *nextbutton;
  37.     IBOutlet NSButton *prevbutton;
  38.     IBOutlet NSTextField *windowdate;
  39.     IBOutlet AMRollOverButton *todaybutton;
  40.     IBOutlet NSButton *quitbutton;
  41.     IBOutlet NSButton *refreshbutton;
  42.     NSMutableDictionary *icalCheckDate;
  43.     IBOutlet NSPopUpButton *themenu;
  44.     NSCalendarDate *tDate;
  45.     IBOutlet NSWindow *thePrefWindow;
  46.     IBOutlet NSButton *drawerbutton;
  47.     IBOutlet NSTextField *fontdisplay;
  48.     IBOutlet NSTextView *memotext;
  49.     IBOutlet NSTabView *tabview;
  50. }
  51.  
  52. + (void)initialize;
  53. - (IBAction) showCal: (id)sender;
  54. - (void) showWindow;
  55. - (IBAction) prevMonth: (id)sender;
  56. - (IBAction) today: (id)sender;
  57. - (IBAction) nextMonth: (id)sender;
  58. - (void) parseCal: (BOOL) force;
  59. - (void) updateDrawer;
  60. - (IBAction) quit: (id) sender;
  61. - (IBAction) menuItemClicked: (id) sender;
  62. - (IBAction) refresh: (id) sender;
  63. - (void) statusItemUpdate: (id) anObject;
  64. - (void) icalUpdate: (id) anObject;
  65. - (IBAction) selectItem: (id) sender;
  66. - (IBAction) close: (id) sender;
  67. - (void)windowDidResignKey:(NSNotification *)aNotification;
  68. - (IBAction) setFont: (id) sender;
  69. - (void) registerGrowl: (void *) context;
  70.  
  71. char* read_stream(char *s, size_t size, void *d);
  72.  
  73. @end
  74.